QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Triangle Flags Masks

The flags parameter for the QADrawTriGouraud and QADrawTriTexture functions specifies a triangle mode, which determines how the drawing engine draws a triangle. You can use these masks to set the flags parameter.

#define kQATriFlags_None                            0
#define kQATriFlags_Backfacing                      (1 << 0)

Constant descriptions

kQATriFlags_None
Pass this value for no triangle flags. The triangle is frontfacing or has an unspecified orientation.
kQATriFlags_Backfacing
The triangle is backfacing. You should set this bit for all triangles known to be backfacing (to help the drawing engine resolve ambiguous hidden surface removal situations).

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |